<!DOCTYPE html>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script src="../resources/window-resize-repaint.js"></script>
<body style="margin: 0">
    <div style="position: absolute; width: 50%; height: 50%; background-color: blue"></div>
</body>
